package com.mySpringMvc.context;

import jakarta.servlet.ServletContext;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * @program: mySSM
 * @description: web应用上下文
 * @author:wjp
 * @create: 2025-02-13 23:53
 **/
@Data
@EqualsAndHashCode(callSuper = true)
public class WebApplicationContext extends ApplicationContext{
    private String configPath;
    private ServletContext servletContext;

    public WebApplicationContext() {

    }
    public WebApplicationContext( String configPath, ServletContext servletContext) {
        super(configPath);
        this.servletContext = servletContext;
    }
}
